package com.my.cd.template;

/**
 * 模板模式主测试类
 */
public class MainTest {
    public static void main(String[] args) {
        HotDrink coffee = new Coffee();
        HotDrink tea = new Tea();
        coffee.prepareRecipe();
        tea.prepareRecipe();
        System.out.println("---------------------");
    }
}
